//
//  FengLeiCell.m
//  MyTest
//
//  Created by zhiyou on 16-4-21.
//  Copyright (c) 2016年 wangyang. All rights reserved.
//

#import "FengLeiCell.h"

@implementation FengLeiCell
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _lab = [[UILabel alloc] initWithFrame:CGRectZero];
        _lab.layer.borderWidth = 1;
        _lab.layer.borderColor = [UIColor blackColor].CGColor;
        _lab.layer.cornerRadius = 10;
        _lab.clipsToBounds = YES;
        _lab.font = [UIFont systemFontOfSize:14];
        [self.contentView addSubview:_lab];
        
        [_lab mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.right.top.bottom.offset(0);
        }];
        
    }
    return self;
}
@end
